package net.zcy.springbootmybatis.vo;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

public class UserVo implements Serializable {

    private static final long serialVersionUID = 1438203430800369330L;

    private Long id;
    @NotBlank(message = "用户名必传")
    private String userName;
    @NotBlank(message = "密码必传")
    private String password;
    private String userSex;
    private String nickName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
}
